<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    //js的条件操作符，好像特别是在说三元条件运算符
    var max = (num1 > num2)? num1 : num2;

</script>
</body>
</html>